package com.micangcaihang.micang.entity;

/**
 * <pre>
 *     author : Fandy
 *     e-mail : fandayongfly@gmail.com
 *     time   : 2017/08/01
 *     update : 2017/08/01
 *     desc   : 用户信息实体类
 *     version: 1.0
 * </pre>
 */

public class UserEntity {

    /**
     * "userid": 1,  //用户编号
     * "username": "admin",  //用户名
     * "photo": "",   //头像
     * "token": "59492d4666b27",  //登录token
     * "realname": "管理员",   //姓名
     * "department_id": 1,  //部门编号  风控18 调评19
     * "department_name": "技术部",  //部门名称
     * "position_id": 6,  //职位编号
     * "position_name": "开发"  //职位名称
     */

    private int userid;
    private String username;
    private String photo;
    private String token;
    private String realname;
    private int department_id;
    private String department_name;
    private int position_id;
    private String position_name;

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public int getDepartment_id() {
        return department_id;
    }

    public void setDepartment_id(int department_id) {
        this.department_id = department_id;
    }

    public String getDepartment_name() {
        return department_name;
    }

    public void setDepartment_name(String department_name) {
        this.department_name = department_name;
    }

    public int getPosition_id() {
        return position_id;
    }

    public void setPosition_id(int position_id) {
        this.position_id = position_id;
    }

    public String getPosition_name() {
        return position_name;
    }

    public void setPosition_name(String position_name) {
        this.position_name = position_name;
    }
}
